package com.xuelang.pipeline.app.resource.request;

import lombok.Builder;
import lombok.Data;

import jakarta.validation.constraints.NotEmpty;

/**
 * @author liuyuan.ly
 * @since 2024/6/26 10:18
 */
@Data
@Builder
public class PipelineRunCrdRequest {

    /**
     * 链接凭证
     */
    @NotEmpty(message = "链接凭证不能为空")
    private String kubeConfig;
    /**
     * 命名空间,唯一标识
     */
    @NotEmpty(message = "命名空间名称不能为空")
    private String namespaceName;

    /**
     * pipelinerun资源信息str,
     */
    private String v1Beta1PipelineRunStr;

    /**
     * pipelinerun资源名称
     */
    private String pipelineRunName;

}
